package com.bite.system.domain.exam;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bite.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("tb_exam")
public class Exam extends BaseEntity {

    //id
    @TableId(value = "EXAM_ID", type = IdType.ASSIGN_ID)
    private Long examId;
    //标题
    private String title;

    //开始时间
    private LocalDateTime startTime;
    //结束时间
    private LocalDateTime endTime;
    //状态
    private Integer status;
}
